
package com.dhcc.bpm.modules.content.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName Marketing
 * @Description  Marketing实体类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

@Data
@TableName("opc_marketing")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Marketing对象", description = "营销信息表")
public class Marketing extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 营销名称
	*/
		@ApiModelProperty(value = "营销名称")
		private String marketingName;
	/**
	* 营销编号
	*/
		@ApiModelProperty(value = "营销编号")
		private String marketingCode;
	/**
	* 营销内容
	*/
		@ApiModelProperty(value = "营销内容")
		private String marketingContent;
	/**
	 * 营销状态
	 */
	@ApiModelProperty(value = "营销状态")
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long marketingStatus;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;

}
